package com.xiaoyu.studyworkspace;

import com.xiaoyu.studyworkspace.properties.JwtProperties;
import com.xiaoyu.studyworkspace.properties.UserCheckKapaProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.io.IOException;


@SpringBootApplication
@EnableConfigurationProperties(value = {UserCheckKapaProperties.class, JwtProperties.class})
@EnableAsync
@EnableScheduling
public class StudyworkspaceApplication {

    public static void main(String[] args) throws IOException {

        SpringApplication.run(StudyworkspaceApplication.class, args);
    }

}
